﻿namespace CompteBancaire
{
    public class Compte
    {
        private int id;
        private double solde;

        public Compte(int ident, double s)
        {
            id = ident;
            solde = s;
        }

        public int getId()
        {
            return id;
        }

        public double getSolde()
        {
            return solde;
        }

        public void doOperation(double solde_op)
        {
            solde += solde_op;
        }
    }
}
